/**
 * Project: springyounger.lottey.biz.admin
 * 
 * File Created at 2009-12-29
 * $Id$
 * 
 * Copyright 2009 Zjut Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Zjut Edu. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Zjut Edu.
 */
package com.springyounger.lottery.service.admin;

import com.springyounger.lottery.dal.dao.UserDao;
import com.springyounger.lottery.dal.dataobject.User;

/**
 * TODO Comment of UserService
 * 
 * @author Administrator
 */
public class UserService {
    private UserDao userdao;

    /**
     * 返回登录user
     * 
     * @param id
     * @return
     */
    public User getUser(String id) {
        User user = userdao.getUserById(id);
        return user;
    }

    /**
     * @param usedao the usedao to set
     */
    public void setUserdao(UserDao userdao) {
        this.userdao = userdao;
    }
}
